Nonperturbative scaling in the scalar theory