more perf at cost of some flexability
Based on previous PR fixes and packs `Vec3d<bool>` for faster address calculation and reuses structures rather than reallocating every time
Based on previous PR fixes and packs `Vec3d<bool>` for faster address calculation and reuses structures rather than reallocating every time