grid sequencing almost totally done, see readme