Improve hoisting of size intrinsic.