check bounds after wrapping.. (joerg stippa)