bugfixes in parallel barnes