Suffix Array with LCS and LRS