make uniform lattice of pins