Error 10: not enough memory to fill polygon