bug fixed in p bc formula of known velocities