add maxlen as a parameter of RPLidarFrame