Fixed nodes never being marked as used

Previously the `check` was never set to `USED` when executing `pos_check[check] = pos + 1;`.