Added handling to clumps_im for case where there are no clumps