Activity Pre-Scheduling in Grid Workflows