comment out the .gateToFilterResult call since it is too expensive to pass filterResult
update addGate_fast to use path instead of node id
add fast collapsing method. #85
update doc