Modeling: rational arrangement of ophthalmic beds