filtering clustering by bounds