speed optimization in BadCapture()