extend mpq cmp