use snappy
use floats instead of doubles