boundary check for seed placement