changed a little in the ways shearing is calculated, now it is done correctly and coherently