build in coalescing main part, need to fix some small index issues tomorrow