Make changes to the cost calculator based on Alon Mor's specifications.