optimize skipping