support rectangular patches