Silly memory optimization