Two layer DBSCan to find stable communities