Resizes loca table when needed