build-merkle: use faster but more mem consuming approach for now