2×2 and 3×3 thumbnail logic