Added cutoff by value. More testing.