Study of LZ-word distribution and its application for sequence comparison