The answer is simple, like you are hungry you can pay more to get the food than that of the person who is less hungry, Similarily here the non metals want electrons thus they spend the energy more , or they release the energy. By this they lose the energy. So smaller is the size