Algorithm for amount of water a topology will hold