Compute ring window max and deletion indices | J.P. Morgan