update to latest branch of stream lib
add intersect and test cases