implemented function for helpiungn find good thresholds for blocked data, closes #13