Increasing the sensitivity of a Shack-Hartmann sensor