giving up on the stupid move counts. Not that important.
tried mmap flags, most of them don't work.
yet another genall implementation.