Partway through scaling down general algorithm