add --min-length, --max-length, --num-bins to hist tool.