add memory page and use relative position