Thanx Savvy! It’s actually a good idea.
I thought about implementing a function to compare bone rotation/constraint rotation limit at a given animation pose and interpolate if bone rotation(at animation pose) is bigger than contraint limits.
but, I could try your implementation. Thank you!