further steps towards step growth, moved mmap functions to correct header