split lm directory