modified script
moved time measurement directly to lifetime-size-classes