add a function to calculate percentage for each heights