Moved ckecking edge in sepatare method