modified edges slightly