Lengths not converted to doubles