Slight change to if statements for filtering.
Adjust initial value of chrSizes.