tool to calculate time needed to get the resources