Further improvement in sktensor when result is vector-like: avoid allocation of large arrays by bincount