fix the size bug. This bug is due to writing skips for size 0 pst list.