initialized origin index