Padding with np.pad in assignLOFScores, instead of np.arr(list(np.arr(v))) + ....
np.pad
assignLOFScores
np.arr(list(np.arr(v))) + ....