change lattice_point slightly (used in previous patch)