discuss and demonstrate inner loop debug optimization