use root finding to keep nspks constant across trials, adjust stimulus bias to do this