set storagelevel MEM_AND_DISK  and remove blocks after get values in them