nccbster said:
The frame is custom, pretty wide,
Doesn't really look custom. Looks like the typical "eeb" / "enduro" frame. Lots of threads about bikes built with those (prebuilt and DIY) if you want to read about them and various possible problems.
I want to have a maximum range
Maximum range of how far? At what speed, under what specific conditions?
Without specifying those, then if you are already picking a specific bike, I can only tell you that to get the maximum range out of whatever bike you get, you have to go as slow as possible, accelerate as gently as possible, and avoid slopes or hills or headwinds, and ride only on smoothly paved roads. That's how to get the maximum range out of any specific setup you're already "stuck with".
But if you have a specific range you must achieve, you need to choose a system, especially battery, that is capable of that, and to do that you must know what conditions you will ride under, on what terrain, including the slopes and lengths of hills you'll be on, and at what speed, and total system + rider weight.
with high torque and offroad capability, ofcourse this type of weight is in the enduro bike territory, but the biggest motor and power is simply very desirable.
How much power / torque you get depends on the speed you are at, and the higher the max speed (higher the kV of the motor, meaning the lower number of turns), the lower the torque will be, for the same setup otherwise.
If you want a lot of torque, go with the highest winding count motor, and the highest *phase current* controller you can get, with the *best battery quality*.
A system you need for high torque, within a small budget, may be pretty limited in it's top speed. So you will need to decide which is more important, and determine the conditions you need to do each one under, to see what compromise you can make.
Note that if the battery can't handle the load you put on it, the bike wont' do what you want. The battery is the heart of the system, the most important and the most expensive part, so if you skimp on that, your system won't do what you want (or not for very long as the battery is overstressed and begins to age quickly).
I recommend going to the http://ebikes.ca/tools/simulator.html and playing around with that to see how this all works, before you spend a lot of money on something that may not do what you need it to.