Primarily your leg length and also how far above the seat you feel comfortable having the BB. about 8" is a good value.
Most people under 6' still use a medium chainstay because when you move the BB out, it lowers the BB. It is usually not too low and better than being higher.
It is best to have...