Use depedency information to reduce recomputes