Dynamically set large and small size classes.