working TIDBSCAN