fixed algorithm so all arrows appear on the same distance to the center