preparing to write the precomputed operation map