[subset-plan] Micro-optimize set iteration Getting ranges is faster even with the current trivial implementation.