restricted Wire segments to 4 main directions