finish float32 version of _vq_rewrite