Add distribution plan logic for AlignedSeriesScan (#5941)