added alternate for medianInStream and added smallestK