removed the stupid direction based partition-traversal; refactored, commented a lot ...