updated curve detection. There might be a bug in nbit calculation for levels...

updated curve detection. There might be a bug in nbit calculation for levels generated using the editor notebook
1 job for master in 1 minute and 49 seconds (queued for 26 seconds)
Name Stage Failure
failed
tests Test
coverage html
python -c "$BROWSER_PYSCRIPT" htmlcov/index.html
___________________________________ summary ____________________________________
py36: commands succeeded
py37: commands succeeded
ERROR: flake8: commands failed
docs: commands succeeded
coverage: commands succeeded
ERROR: Job failed: command terminated with exit code 1