pat advance 1063 added, allocate memory in set or map will use a lot of time, so time will exceed.