Text this: Fast algorithm for VQ-based wavelet coding system