improve the scan points generated by scan.py