Bugfix: fix the partial cascading implementation.
Add benchmark tests for all the versions of the fast query algorithm