some fixes on partitioning code generation; private repository update