generating basic corner for some angles
various fixes to make all the tests pass