modified run length to float
merged clonfucts