Rewrited move algorithm. Position supported