Hubert model for modulated states in systems with competing exchange interactions