Force localmax probability to be int