Clean-up and bug fixing in square partitioning strategy.
Working square partitioning strategy.