specialized routines for binomial ideals