clean up; look at cheby part of NextSpan PrevSpan metrics - math.min looks wrong to me now?
clean up
clean up