1. A method for propagated last labeling using computer readable program codes recorded in a non-transitory computer readable media, comprising: a. receiving one or more data files holding segmented data into a line buffer; b. setting a maximum number of available labels as a function of a number of label locations on a current line of memory; c. identifying one or more segments in the segmented data, the one or more segments sharing a same region; and d. labeling the one or more segments as a feature of the same region, each feature representing a predetermined property of the same region.