Fixing error with generating delta m for static case