The previous coercion was more efficient, but the computation was getting stuck when processing algebraic structures