fix a bug
update: optimize algorithm
fix: build before running server