Library-based reverse mapping scheme for high-molecular-weight polymer chains