Multi-resolution Demons Registration

Hi, I am trying to do the deformable image registration using demons, simply extending the example “DeformableRegistration16.cxx” to 3d images.
A multi-resolution scheme is used here with 4 levels. Where can I find the information of resolution for each level, and how to change the resolution for each level?
Thanks.