Granular templating: effects of boundary structure on particle packings under simultaneous shear and compression