when nbits is specified and the data is compressed floating point insure it to be f2 inside of the write function