fixed radix sort algo. did not work for huge triangle-spaces. now it does