This is exactly what almost every book is going to give you, so if you can only handle to be spoon-fed I am not sure how far you will be able to go as a programmer.
@L. Spiro:
I don't appreciate your reply, I have been programming for 10 years in around 12 different programming/scripting languages and I'm completely new to DirectX and 3D games programming.
You seriously need to never judge other people.
Anyway, Thanks for trying to help, the question was resolved by simply decreasing max_pitch value.