max times array not initialized in partitions