check for tile boundaries in QP computation