added in downmap for speed