Fixed excessive memory usage in RegionalQuad