do not cut if relevant frames can not be captured

Currently cutting can only be done in the first function of the program
under test.