wip modularize chunk tables