built segment monitor, a lot of profiling and optimization for thousands of users, still not good