Fixed template constraints in biguintcore.