selection with boundaries works. Moved parse_selection to Gless object