You don't need to check for 1000 or 1001 in the BNCI.  1000 and 1001 are text NCI lines, the don't exist in the binary; the binary NCI only contains 1002(NCI_TOOLCHG) lines. It also seems like you're storing a point for each move and not just the extents?