Replaced findInterval() with cut() in Parts 1a and 1c