Shorten max class length