Refactored maximum_photo_size method in Answer model