simplified the main loop in lattice
easygoing check