calculating water balances in a quarry