improved simple square painting