Investigation of volume effects in polymethylene chains using the Monte Carlo method