changed partition_map to partitions_owned_map in state.h for better readability