I don't know about the size of your tank but if the cucumber is ugly, then you should be good to go. To give you an idea, I have cuke. We call him Mr. Hanky.
My red cucumbers never touch the sand bed. They stick to the glass as high as the water level. Been there like 3 months only to move a little like stretching the body.