Fixed bug when cutpoint is not zero.