Cube had two constructors that can't be differentiated; works on mac; breaks on debian