debug partition the map