hueristic effort calculations
fitness calculations for astar