TODO proper next(/prev) which finds next element without position of given key