Faster /parts/ indexing with precomputed value.