Automatically adjust process window sizes