Paint Over function speed has been hugely improved by using a labelmap instead of a linear array to store the location of the already visited pixels