How cost calculation can be changed from the starting date of the activity to finishing date