unit in core have still some int overflow pb caused by undue tests
Merge pull request #862 from jtlap/next_prev_core

unit in core have still some int overflow pb caused by undue tests