limit heatmap query by a certain amount so not so slow