Rainbow coloring works, is extremely slow atm.