"[PATCH] for changing the mosaic-order in execution time" by Mateus Krepsky Ludwich + a few fixes. Many thanks.