Further development of the parsing algorithm