Modified sim-cache and sim-outorder for dip algorithm