avoided one copy (unfinished)
added best-cutoff looking example.