Size-selection of nanoclusters in transition from 2D to 3D growth in ion beam assisted deposition