clumps: speed improvement