fixed corner generation