Removed const from input to is_merge