better heuristic for painting, preload a file to start algorithm for map coverage