FIX : save memory when cropping raw