Added custom top-k approximation