Exploiting First and Second Shapiro Steps Towards the Reduction of Bias Lines in Programmable Josephson Arrays