read .bai files if present, set depth max to max int