sanity checking self-thinning algorithm.