move append_float_length specialization to the header