Move magic numbers to balance constants