More speed ups for core Lattice object.