Dynamic interaction of a bubble and discontinuous boundaries: A three-dimensional study with the fast multipole boundary element method