improved trace step skipping