Jh add integral size method

self-merge