A variant to the “random approximation” of the reference-free alignment algorithm