Constructing Partial MDS Codes from Reducible Algebraic Curves