Remove unnecessary regions