Full review of IDB with new splits

Removed wrong offsets, added aligns and splits.