powered by
function that finds maximum widow size to searxh for a cutoff
bounds(x, ns = 25)
list with ubl - minimum value of the window's left boundary point, ubr - maximum value of the window's right boundary point
score data
minimum number of data points on each side of the cutoff to which cubic parts are fitted