support negative kth element