added callback for mem region iteration