Change memory offsets. Update change_ptn_layout() function.