Would it be possible to have only one group for both dense and sparse output?