continued Scape-M cloud algorithm