Text this: Analysis for rank distribution of BATS codes under time-variant channels