Improved algorithm to extract indication section