Total magnetic-field intensity anomaly due to a vertical pyramid model of flat top and bottom with constant magnetisation