extract priv.scale.x generator function