added tweak to bounce molecules away from corners so they dont get stuck