Adjust regions to match input data