<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def read_lsm_floatpairs(fh):
 """Read LSM sequence of float pairs from file and return as list."""

    size = struct.unpack('<i', fh.read(4))[0]
    return fh.read_array('<2f8', count=size)