Fixed scoremin and scoremax