Improving Performance of Multi-Dimensional Particle-In-Cell Codes for Modelling of Medium Pressure Plasma