fix estimates with floats, close issue #1