Refined shape generator. One shape for each trip is easier ;)