High potential for the optimum designs for a front contact and junction: A route to heterojunction solar cell