IBS computation done. need testing.