little changes

Signed-off-by: Shindo Wu <cn.shindo@gmail.com>
Finally, everything seems peaceful.

replace temp buffer with a counter to increase performance in CoveringMapManager.
fix the annoying bugs, and everything seems peaceful.

Signed-off-by: Shindo Wu <cn.shindo@gmail.com>