How to calculate the child's height