Dealing with off-by-one issue assembling BAIS