avoid function call depth for 3d to sbs