parametrize build_surrounding by like and checkin threshold