A new efficient approach to the direct restricted active space self-consistent field method