Simplify hex-painting function