mapImage(): speed improvements for subdomains
mapImage(): document speed improvement better