organize internal index queue for bulk optimization