DIY digital potentiometer

The offset is fine, just need to get it behave linearly in 1:1 ratio. The schematic's outputs are curved shape and exponential, what is worse , they are asymmetrical.
It does not have to be transistors. I tested with P and N MOSFET combo and it seems they have a better response to Vgs but I spent hours and I could not get the values remain in the same range