A development pathway to optimise sustainability of water investment and minimise social cost