Fixing withMaxSize