Forcing function has strange value near z boundaries