integrated thickness detector