Added a safeguard in tui against strange disk sizes (LEV-85)