[WIP] only do O(N) builds