Constructed MPSC graph of z by X. In gray are the required regions for z and X. Highlighted in blue are the set maximal matches from z to X. Highlighted in red is the length maximal MPSC of z by X.