Optimization in build_initial_k_list

The paper proposed a strage approach to the build of an initial k list. The algorithm has been rewritten exploiting function used during the backtrack phase.