initial implementation of SharesSortedNestedLoopJoin