fix to memory glitch bug in balkanize stage 2