BTW the best option is to have class for it which can produce reduced map if you need it.