mm/slab: make criteria for off slab determination robust and simple