add top, right, bottom, left to entities