length in close mode