modplan: fix for crossing blocks