Discard short files.
Fix bug, add validation main.
Assert not infinity.