Added nconsecutive keyword to pre_tune