new method to get the reward for a particular height