substitution network with 4 rounds