bugfix in bestplane
Merge branch 'master' into dcd
dcd Next() passes a simple test