calculate future needs of resources