temporary fix with a work-around for that sp.vstack produces sparse matrices with indices,indptr with dtype int64 instead of int32 (which breaks our cython code)
more precise and consistent types for sparse matrix functions