Build a bridge with magnetic balls