Fix computation of the function data length.
Fix computation of the function data length.

dm/gearmand,dm/gearmand,beeksiwaais/gearmand,dm/gearmand,beeksiwaais/gearmand,beeksiwaais/gearmand,dm/gearmand,beeksiwaais/gearmand