corrected the data size of functionIDs from 32 to 16 bits