bmi backwards calculation