scaling map bins read/write floats via api; fix unit tests