changed sbrk to mmap