Add temporal storage
Move getCreepCost from generics to utils