Fixed margin comparison which can improve performance in some situations