Effect of inflow density on ion diffusion region of magnetic reconnection: Particle-in-cell simulations