Some cosmetic changes + arbitrary output pyramid size..