Implemented alignment as specified in Guy (1984).