Task #623 bugfixes on fragmentation procedure