set route length configurable
fix a bug
add .gitignore