find the first three non-zero