first part of implementation of os_getChunkSize