Dimension changing phase transitions in instanton crystals