The road climbs again as it makes a gentle bend and widens as it crosses the Livingston County line just south of Dansville and north of Stony Brook State Park. Descending again, it returns to its northwestern heading. North of the village it climbs to the west side of the wide valley of Canaseraga Creek, giving the roadway a view over the area known locally as the Flats. NY 36 begins to parallel the highway closely, with NY 63 on the far side of the Flats. Just south of the hamlet of Sonyea, NY 36 crosses at a diamond interchange. I-390 turns northeast briefly but resumes its northwest course soon afterward. At this point, the highway follows more level ground, with woods and swamps mostly replacing farmland in the surrounding landscape.