throw error if mask does not extract anything
give more information if above tolerance