int adjustedStart = start;
int adjustedEnd = end;
int windowSize = Math.min(4 * (end - start), PreferenceManager.getInstance().getAsInt(PreferenceManager.SAM_MAX_VISIBLE_RANGE) * 1000);
int center = (end + start) / 2;
int expand = Math.max(end - start, windowSize / 2);
<BUG>if (loadedInterval != null) {
if (loadedInterval.contains(chr, start, end)) {
return;
}
}</BUG>
if (expandEnds) {

int adjustedStart = start;
int adjustedEnd = end;
int windowSize = Math.min(4 * (end - start), PreferenceManager.getInstance().getAsInt(PreferenceManager.SAM_MAX_VISIBLE_RANGE) * 1000);
int center = (end + start) / 2;
int expand = Math.max(end - start, windowSize / 2);
if (expandEnds) {
