Measurement of system size dependence of directed flow of protons (anti-protons) at RHIC