Hierarchical Min-Sum Algorithm Based on Dynamic Scaling Factor for LDPC Decoding