More efficient painting