Mold for frames