seemed to have fixed the issue with bitonic sort