fixed issues with sparse vertex ranges, especially if vertex ids close to Long.MAX_VALUE
fixed issues with sparse vertex ranges, especially if vertex ids close to Long.MAX_VALUE