Remove dead code from lwdim example