Made hall effect able to have a max value.