If you want to distribute the stake fairly:
Divide the stake reward you receive by the total of the coins in the pool. Then you have the stake received per coin deposited. Then each user gets: (deposited amount * stake received per coin).
Or is this too simple?