changed range of grayscale palm values