made adaptive support algorithm much faster.