Drasticaly optimised image filling.