Stairstep-like dendrogram cut: a permutaton test approach