Smarted readmem/writemem and paging. Nice performance boost