Tune optimization for alleviating space charge effects and suppressing beam instability at the RCS of CSNS | Synapse