updated resizePattern()