Constraint and tradeoffs regulate energy expenditure during childhood