Added MaximalSequenceOfEqualElements