Fix for decimal rem sizes

authored in github interface, untested