coordinate fixup, boundary col generalized, hex code fixup