The role of volume expansion in the formation of metallic glasses