search on this forum for “finetuning”, there are a few threads that explore that.
I dont think giving you particular solutions for your specific code is feasible (unless someone here has a lot of free time  )