Fix memory map bounds