adjusting regression loop to scale test point grid + work in full loop