change model range to allow 1000x65536 for a custom model