Changing the selection shape of objects

Hey there, did someone find a way to mod the selection shape of objects ? would like to try to fix selection on small trees mod, and maybe change shape of in construction castle hitbox, so that you can actually snipe the peons behind. Thanks