add context_number_of_lines_above/below to process_text_stub function, and use it to determine contexts after squeezing