Remove trailing space's width in avoid_collisions