Calculate module header and footer wdth on the fly