improve shallow search