Application of algebraic method to the high overtones of C6H6 and C6D6