A hierarchical approach to improve the ant colony optimization algorithm