DONE: find all the length-1 patterns in the projected database