pseudocode of the algo for high plantar pressure detection