Reducing discrepancies between 3D and 2D simulations due to cell packing density.