Applying changes takes a long time