The effect of electrodeposition process parameters on residual stress-induced self-assembly under external load