added BPM range calculation routine