Port histogram from float to uint32_t