add support for cycled coordinates