A Method to Improve Two-Dimensional Layout