dKtRowsSums was mivoed into main while loop since it requeries memory dataTotal but not trTotal