add ith frame begin and end for iteration
add failed frame notes
add assertion
handle if LSP.size()==0
Merge branch 'spiht-cpp-5-debug-fr10' into spiht-cpp-5
set the run for all frames
Merge pull request #19 from tttor/spiht-cpp-5

Spiht cpp 5: Bug fixes, work well for all frames.