offset for each range added. got rid of thresholding