Handle splitting of new block due to overlap with previously selected
blocks better. Added test.