Minor optimization of hfs
Merge branch 'master' of https://github.com/arkadyark/tron
Merge branch 'improving_bfs' of https://github.com/arkadyark/tron