Bias estimation from shear and galaxy distribution