rectangles are faster than pixels