poincare: Support arbitrary degree