Gravar-mail: Reducing the worst case running times of a family of RNA and CFG problems, using Valiant's approach