adding minimum ratio for curves