fix collecting blocks no to go when reached higher level, add some comments to file
fix level value for a tree when collecting blocks