Eliminated redundant temporary variables