reduce the extra operations.