The compile time flag was not set correctly, causing the set acceleration boundary code to never be called.