Uses the lx-to-rems function to calculate sizes