added memory alignment attributes and check to prevent assert calls while in transactional region