Test with square, there seems to go something wrong with some line directions