Picatinny rails in hardened steel