A unified approach to construct snarks with circular flow number 5