sloped regions working with a easily reproducable bug