humm, 2 dimensions ... can you optimize your algo ?