fixed length calculation of lpDependencies