reordered iteration over Y/X dimensions of image for better cache usage
reordered iteration over Y/X dimensions of image for better cache usage

embox/embox,embox/embox,embox/embox,embox/embox,embox/embox,embox/embox