Minor mod
Fix non-optimized ROI partitioning
Minor mod