cloned EnumerateCollectionBlock into IndexRangeBlock