#215 fix numerics for autogroup and leading zeros