finished optimizing region gen