Video: Computation of the KMP sp values