mem mapping improvement