Rewrite of find_scales