dynamic tile counts & buffering
remove legacy code from build