Hierarchical bracket algorithm improved.
Speed optimization for brackets (about 50 percent).
Emty input and output brackets implemented.