removed slow pq algorithm
changed scale