updated complexity computation