Pathways and interactions accounting for the oligomerization of amyloid peptides