Fast online Lempel-Ziv factorization in compressed space