Resize custom or main modules