As there is an apparent interest for optimization for footprint, I figured that this can eventually become useful.