If i am traveling from A to C. Say fare is 50rs, I can travel in train without ticket from A to C, and before reaching C, say from station B, sitting in train, i can get ticket though app, say fare is just rs 10. This method can be implemented by cheaters. In order to avoid this, 25m to 5km is permissible limit.