64bits support

As we have an implicit cast from long long to NSUInteger to get the size, we can safely use NSUInteger everywhere