Tried to fix up latticePoint occurances to work