Hotfix

Remove segfault caused by processes of size one being possible after
modifying algorithm