Macrostructure of collisionless bow shocks: 1. Scale lengths