fixed length_to_size for binary and added test for length_into