compute refactoring and added support for multi analysis with different
selections