cGOL: added wrapping support