Make Costs of Paths Equal in a Binary Tree