Changes for detecting small patches