reducing number of sglIds