added code to compute range x cpue threshold relationships