Added distMap to cellCalss