simple cyclce detection for feature added in last commit