scale masses and box size to correct units