The first part of optimization of the hierarchical module