pi->end <= pi->cur