Working multicam using new algorithm