Fixing right and bottom edges approach