restricted Wire segments to 8 main directions