baody mass index in java