Added support for partial fillups

Added calculations for partial fillups