A region plugin that is fully optimized, support irregular shape and more advanced flags
-Fix various bugs -Improved performance