Use getCompactableIndex() to unmask firstIndex