need `getLocalSize()`