Ant colony optimization approach for stacking configurations