Epoxy compounds containing three or more epoxy groups