implement led stack size sensing