Optimizing function cfeps. Function sort_by_buckets DONE (much faster than before).