Thread-safe version of the phase2 cabling

Since the cabling may be accessed via diverse threads, it is not possible to use the mutable
keyword in it. Changes were made to pre-sort three vectors of indices at construction time.
After that, the object doesn't have to be altered.