Efficient parameter sweep for MD simulations