change scale up logic for problem1