Implement czchen-674 using bottom-up approach