Bugfix fragment size detection