Added new configuration parameter to limit the window size