Make reading pipe indices unique