Ferrari show flexibility ahead of race to be defined by small margins