add maxL as float