update filterTable

- Move to uint64_t cells
- Use kdm.h functions
- add -h flag