adding slice thickness