Simulation of bi-directional pedestrian flow under high densities using a modified social force model