[MONDRIAN-1572] fixed an issue with more than two bridge dimensions.