Update slide implementation for simplified slide in C codes!