add a few asserts to ensure alignment