Simplifying CYKAlgorithm contructor