Improve knowledge offsets array definition