Related to issue #76
perform selection of the range also for 2D regrouping