Improvement of algo for all assets combinations