I think it's legal as long as it doesn't change the profile of the weapon.