1. A device to improve accuracy and computer efficiency for selecting a grouping of digital strokes, comprising: a digital stroke analyzer configured to: receive a selection of a digital stroke in a graphical user interface; and make a determination as to whether the digital stroke is part of an existing stroke grouping; a grouping generator configured to: in response to a determination that the digital stroke is not part of an existing stroke grouping, group a plurality of strokes, including the selected digital stroke, into a stroke grouping, wherein: boundaries are determined for a sampling region; the sampling region is analyzed to determine whether a second digital stroke is in the sampling region; and when a determination is made that a second digital stroke is in the sampling region: the second digital stroke is added to the stroke grouping; and a first sampling region bound of the sampling region is expanded along at least one axis; and recursively analyze the sampling region, wherein additional digital strokes found in the sampling region are added to the stroke grouping, and the first sampling region bound of the sampling region is expanded along the at least one axis until an additional digital stroke is not found in the sampling region; and select the stroke grouping or the existing stroke grouping; and a user interface engine configured to: update the graphical user interface to display the selected stroke grouping or selected existing stroke grouping.