Factored out encirclement.
Made read/write cells as synchronus as I could for the moment.
Madeing writing map items cell by cell, but reading is full tiles.