Sweep size added, changed array to vector