Apply only strictly needed patches