System size dependence of harmonic flow parameters in a multiphase transport model at $$E_{\mathrm{lab}}=30A$$ E lab