reducing computation for simulation