I think the best solution would be to make dock extenders mass based instead of dimension based. Then, dimensions of the ship aren't as important, obstructions are no longer a problem, and it gives a slight nerf to cube ships, as they lose the advantage of being able to easily fit in docks...