added config param to enable or not bitmap smoothing