add gitignore
avoid memory excess usage
fix codeblox
user defined nest level